<template>
  <div class="news_list">
    <div class="list_out">
      <div class="left_date">
        <div class="date_day"></div>
      </div>
      <div class="middle_text">
        <div class="title">新投集团应邀出席与毛里求斯代表团座谈会</div>
        <div class="words">9月3日至4日,中非合作论坛北京峰会举行。中国民营企业与毛里求斯代表团座谈会作为峰会活动之一在开幕式当天召开。</div>
      </div>
    </div>
    <div class="list_out"></div>
  </div>
</template>

<script>
export default {
  name: 'NewsList'
}
</script>

<style scoped lang="scss">
.news_list{max-width: 1200px;margin:0 auto}
.list_out {
  width: 100%;
  height: 161px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  padding:40px;
  display: flex;
  @media (max-width: 576px){
    padding:20px;
    height: 121px;
  }
  &:hover{
    border-radius: 0 10px 0px 10px;
    border-bottom:1px solid rgba(0,0,0,0);
    background: linear-gradient(to bottom,#d3000d 0%,#b9000b 100%);
    box-shadow: rgba(0,0,0,0.2) 0px 0px 10px;
    .middle_text{
      .title{
        color:#fff
      }
      .words{
        color:#fff
      }
    }
  }
  .left_date{
    width:100px;height: 80px;border-right:1px solid rgba(255,255,255,0.3);
    text-align: center;
    @media (max-width: 576px){
      display: none;
    }
    .date_day{
      font-size:2.5rem;color:#fff;margin-bottom:10px;
    }
  }
  .middle_text{
    flex:auto;
    box-sizing: border-box;
    padding:0 20px 0 20px;
    overflow:hidden;
    .title{
       font-size:1.1rem;color:#171717;margin-bottom:10px;
      width: 100%;
       overflow: hidden;
       text-overflow: ellipsis;
       white-space: nowrap;
    }
    .words{
      font-size:0.8rem;color:#171717;margin-bottom:10px;
      width: 100%;
      text-overflow: ellipsis;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }
  }
}
</style>
